﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;

namespace WCFService
{
    public interface IChatCallback
    {
        [OperationContract(IsOneWay = true)]
        void RefreshClients(List<Client> clients);

        [OperationContract(IsOneWay = true)]
        void UserJoint(Client client);

        [OperationContract(IsOneWay = true)]
        void UserLeave(Client client);

        [OperationContract(IsOneWay = true)]
        void Receive(Message content);

        [OperationContract]
        void HasNotify(string content);
    }
}
